#include <vector>
#define DEFAULT_FGCOLOR (0xFFFFFF)
#define DEFAULT_BGCOLOR (0x000000)
#define ATTR_STACK_BASE attr_stack_base_pointer

extern std::vector <int> attr_stack;
extern int ATTR_STACK_BASE;

/*
int luacon_pushattr (lua_State * l);
int luacon_pushattr_swap (lua_State * l);
int luacon_popattr (lua_State * l);
int luacon_setattr (lua_State * l);
int luacon_resetattr (lua_State * l);
int luacon_swap_color (lua_State * l);
*/

void luaopen_con_attribute_api_ (lua_State*);